package com.ntv.domain;

import java.util.Date;

/**
 * @author Vedamoorthi Vairam
 * @since 05/01/2009
 *
 */
public class NewsType  implements INewsType {
	private Long typeId;
	private String name;
	private String description;
	private Long createdBy;
	private Date dateOfCreation;
	private Long updatedBy;
	private Date dateOfUpdation;
	
	/**
	 * @return the typeId
	 */
	public Long getTypeId() {
		return typeId;
	}
	/**
	 * @param typeId the typeId to set
	 */
	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the createdBy
	 */
	public Long getCreatedBy() {
		return createdBy;
	}
	/**
	 * @param createdBy the createdBy to set
	 */
	public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}
	/**
	 * @return the dateOfCreation
	 */
	public Date getDateOfCreation() {
		return dateOfCreation;
	}
	/**
	 * @param dateOfCreation the dateOfCreation to set
	 */
	public void setDateOfCreation(Date dateOfCreation) {
		this.dateOfCreation = dateOfCreation;
	}
	/**
	 * @return the updatedBy
	 */
	public Long getUpdatedBy() {
		return updatedBy;
	}
	/**
	 * @param updatedBy the updatedBy to set
	 */
	public void setUpdatedBy(Long updatedBy) {
		this.updatedBy = updatedBy;
	}
	/**
	 * @return the dateOfUpdation
	 */
	public Date getDateOfUpdation() {
		return dateOfUpdation;
	}
	/**
	 * @param dateOfUpdation the dateOfUpdation to set
	 */
	public void setDateOfUpdation(Date dateOfUpdation) {
		this.dateOfUpdation = dateOfUpdation;
	}
	
	@Override
	public String toString() {
	
		return "NEws Type Id "+ getTypeId();
	}
		
}
